﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;

namespace Novice
{
    [Serializable]
    public class _AUI
    {
            String _id;
            int _totalTime;
            int _selectionTime;
            int _dwellTime;
            int _yMouseV;
            int _yMouseA;
            int _nrVisitedItems;
            int _uniqueItemCount;
            int _avgDwellTime;
            double _KLMRatio;
            double _KLMDifference;
            double _KLMPredictedTime;

        public _AUI()
        {
        }

        public _AUI(String id, int totalTime, int selectionTime, int dwellTime, int yMouseV,
                            int yMouseA, int nrVisitedItems,  int uniqueItemCount, int avgDwellTime,
                            int KLMRatio, int KLMDifference)
        {
            this.id = id;
            this.totalTime =  totalTime;            
            this.selectionTime = selectionTime;
            this.dwellTime = dwellTime;
            this.yMouseV = yMouseV;
            this.yMouseA = yMouseA;            
            this.nrVisitedItems = nrVisitedItems;
            this.uniqueItemCount = uniqueItemCount;            
            this.avgDwellTime = avgDwellTime;
            this.KLMRatio = KLMRatio;
            this.KLMDifference = KLMDifference;
            this.KLMPredictedTime = 2.65;
        }

        public String id
        {
            get { return _id; }
            set { _id = value; }
        }
        public int totalTime
        {
            get { return _totalTime; }
            set { _totalTime = value; }
        }
        public int selectionTime
        {
            get { return _selectionTime; }
            set { _selectionTime = value; }
        }
        public int dwellTime
        {
            get { return _dwellTime; }
            set { _dwellTime = value; }
        }
        public int yMouseV
        {
            get { return _yMouseV; }
            set { _yMouseV = value; }
        }
        public int yMouseA
        {
            get { return _yMouseA; }
            set { _yMouseA = value; }
        }
        public int nrVisitedItems
        {
            get { return _nrVisitedItems; }
            set { _nrVisitedItems = value; }
        }
        public int uniqueItemCount
        {
            get { return _uniqueItemCount; }
            set { _uniqueItemCount = value; }
        }
        public int avgDwellTime
        {
            get { return _avgDwellTime; }
            set { _avgDwellTime = value; }
        }
        public double KLMRatio
        {
            get { return _KLMRatio; }
            set { _KLMRatio = value; }
        }
        public double KLMDifference
        {
            get { return _KLMDifference; }
            set { _KLMDifference = value; }
        }
        public double KLMPredictedTime
        {
            get { return _KLMPredictedTime; }
            set { _KLMPredictedTime = value; }
        }
    }
    
    [Serializable]
    public class _AUI_Hidden
    {
         String _id;
            int _totalTime;
            int _selectionTime;
            int _dwellTime;
            int _yMouseV;
            int _yMouseA;
            int _nrVisitedItems;
            int _uniqueItemCount;
            int _avgDwellTime;
            double _KLMRatio;
            double _KLMDifference;
            double _KLMPredictedTime;

        public _AUI_Hidden()
        {
        }

        public _AUI_Hidden(String id, int totalTime, int selectionTime, int dwellTime, int yMouseV,
                            int yMouseA, int nrVisitedItems,  int uniqueItemCount, int avgDwellTime,
                            int KLMRatio, int KLMDifference)
        {
            this.id = id;
            this.totalTime =  totalTime;            
            this.selectionTime = selectionTime;
            this.dwellTime = dwellTime;
            this.yMouseV = yMouseV;
            this.yMouseA = yMouseA;            
            this.nrVisitedItems = nrVisitedItems;
            this.uniqueItemCount = uniqueItemCount;            
            this.avgDwellTime = avgDwellTime;
            this.KLMRatio = KLMRatio;
            this.KLMDifference = KLMDifference;
            this.KLMPredictedTime = 2.65;
        }

        public String id
        {
            get { return _id; }
            set { _id = value; }
        }
        public int totalTime
        {
            get { return _totalTime; }
            set { _totalTime = value; }
        }
        public int selectionTime
        {
            get { return _selectionTime; }
            set { _selectionTime = value; }
        }
        public int dwellTime
        {
            get { return _dwellTime; }
            set { _dwellTime = value; }
        }
        public int yMouseV
        {
            get { return _yMouseV; }
            set { _yMouseV = value; }
        }
        public int yMouseA
        {
            get { return _yMouseA; }
            set { _yMouseA = value; }
        }
        public int nrVisitedItems
        {
            get { return _nrVisitedItems; }
            set { _nrVisitedItems = value; }
        }
        public int uniqueItemCount
        {
            get { return _uniqueItemCount; }
            set { _uniqueItemCount = value; }
        }
        public int avgDwellTime
        {
            get { return _avgDwellTime; }
            set { _avgDwellTime = value; }
        }
        public double KLMRatio
        {
            get { return _KLMRatio; }
            set { _KLMRatio = value; }
        }
        public double KLMDifference
        {
            get { return _KLMDifference; }
            set { _KLMDifference = value; }
        }
        public double KLMPredictedTime
        {
            get { return _KLMPredictedTime; }
            set { _KLMPredictedTime = value; }
        }
    }
}
